package com.ruan.query;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @ClassName:BaseQuery
 * @Author:阮昇
 * @Description:
 * @Datetime: 2023/9/22 20:53
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel
public class BaseQuery {

    @ApiModelProperty(value = "当前页")
    private Integer page=1;

    @ApiModelProperty(value = "每页显示的记录数")
    private Integer size=2;
}
